﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    public class AttachmentModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid AttachmentId { get; set; }
        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 字节流
        /// </summary>
        public byte[] FileStream { get; set; }
        /// <summary>
        /// 扩展名
        /// </summary>
        public string Extension { get; set; }
        /// <summary>
        /// 媒体类型
        /// </summary>
        public string MediaType { get; set; }
    }
}
